<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout"
      layout:decorator="manage/manage_layout_sub">

<head>
    <title>用户管理-查看</title>
</head>

<body class="manage manage-user">

<div layout:fragment="content">
    <div class="container">
        <form class="form-horizontal" onsubmit="return false;">
            <br><br>
            <div class="form-group">
                <label class="col-sm-2 control-label">用户ID：</label>
                <div class="col-sm-2">
                    <input type="text" class="form-control" th:value="${userInfo.userId}" Readonly>
                </div>
                <label class="col-sm-2 control-label">用户名称：</label>
                <div class="col-sm-2">
                    <input type="text" class="form-control" th:value="${userInfo.userName}" Readonly>
                </div>
                <label class="col-sm-2 control-label">手机号码：</label>
                <div class="col-sm-2">
                    <input type="text" class="form-control" th:value="${userInfo.phone}" Readonly>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">开始时间：</label>
                <div class="col-sm-2">
                    <input type="text" class="form-control" th:value="${userInfo.startTime}" Readonly>
                </div>
                <label class="col-sm-2 control-label">结束时间：</label>
                <div class="col-sm-2">
                    <input type="text" class="form-control" th:value="${userInfo.endTime}" Readonly>
                </div>
                <label class="col-sm-2 control-label">最后登录时间：</label>
                <div class="col-sm-2">
                    <input type="text" class="form-control" th:value="${userInfo.lastLoginTime}" Readonly>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">状态：</label>
                <div class="col-sm-2">
                    <input type="text" class="form-control" th:value="${userInfo.status == '1' ? '上线' : '下线'}" Readonly>
                </div>
                <label class="col-sm-2 control-label">归属地：</label>
                <div class="col-sm-2">
                    <input type="text" class="form-control" th:value="${userInfo.areaName}" Readonly>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">角色：</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" th:value="${userInfo.roleNames}" Readonly>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">菜单权限：</label>
                <div class="col-sm-10">
                    <p class="form-control-static" th:text="${userInfo.userFuncs}"></p>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">操作权限：</label>
                <div class="col-sm-10">
                    <p class="form-control-static" th:text="${userInfo.userOpers}"></p>
                </div>
            </div>
        </form>
    </div>
</div>

</body>
</html>